import React       from 'react'
import request     from '../until/request'
import api         from './api.config'
import BX         from './com.config'
import txtConfig from './txt.config'

// rem适配
import remComputed from 'ml-rem'
remComputed()

// 挂载全局组件及方法
React.BX = BX;
React.Component.prototype.$request = request;
React.Component.prototype.$api     = api;
React.Component.prototype.$txt     = txtConfig;
